package com.auxgroup.hr.front.service.performance;

import java.util.List;

import com.auxgroup.hr.front.commons.vo.ExamInfoRespVO;
import com.auxgroup.hr.front.commons.vo.QueItemReqVO;
import com.auxgroup.hr.front.dao.domain.PsCEvaDocEvlt;
import com.auxgroup.hr.front.dao.domain.PsCEvaDocVw;
import com.auxgroup.hr.front.dao.domain.PsCEvaDocVwPrimary;

/** 
 * @author lvliuhao 
 * @version 创建时间：2018年8月20日 下午4:47:58 
 * 类说明 
 */
public interface AssessService {

	/**
	 * 获取需要测评的人员列表
	 * @param oprid
	 * @return
	 */
	public List<PsCEvaDocVw> getEvaPersons(String oprid,String sheetId,String queryKey);
	
	/**
	 * 获取测评人员信息
	 * @return
	 */
	public PsCEvaDocVw getEvaPer(PsCEvaDocVwPrimary primary);
	
	/**
	 * 查询评估结果
	 * @param docid
	 * @param role
	 * @param evaluator
	 * @return
	 */
	public PsCEvaDocEvlt getEvaDocEvlt(String docid,String role,String evaluator);
	
	
	/**
	 * 构建考试内容
	 * @param evaDoc
	 * @return
	 */
	public ExamInfoRespVO getExamInfo(PsCEvaDocVw evaDoc);
	
	/**
	 * 保存分数信息
	 * @param reqVos
	 */
	public void saveScore(List<QueItemReqVO> reqVos,String docid,String role,String evaluator);
	
	/**
	 * 调用webservice计算分数
	 * @param docid
	 * @return
	 */
	public String handleScoreByWebService(String docid);
	
	/**
	 * 保存测评结果
	 * @param docid
	 * @param role
	 * @param evaluator
	 */
	public void saveDocEvlt(String docid,String role,String evaluator,String oprid);
	
}
 